Fixed internal native layout algorythm wrt size-request singals/implementations.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:43:39 +0000 (20:43 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:59:28 +0000 (20:59 -0400)
commit5d83f5eba58a7266949c5e47fb5f3fefec10c107
tree0fefe7cc27b3559e6879021dd39c41492118ec41
parenta33053db749197c7e3cdcf84f27ca6e8ed37bca6
Fixed internal native layout algorythm wrt size-request singals/implementations.

Because "size-request" signal can be handled by signal connections as well
as by third party derived classes it is necessary to always fire the
"size-request" signal for every recalculation of the widget requisition,
now gtksizegroup.c:do_size_request() fires the signal first and allows it
to overflow the minimum/natural sizes returned by extended layout
implementations.

GtkWidget->get_natural_size() is now left assigning default -1 values to
ensure they both get overridden by the size-request handling.
gtk/gtksizegroup.c
gtk/gtkwidget.c